#ifndef _ZJH_H_
#define _ZJH_H_

#include <stdio.h>
#include <stdint.h>
#include <iostream>
#include <fstream>
#include <string>
#include <json/json.h>
#include "redis_client.h"
#include "mysql_connect_pool.h"
#include "do_sql.h"

class Server;

class YXJMJ
{
public:
    std::string         conf_file;
    int                 is_daemonize;
    Json::Value         conf;
    Server              *server;
    struct ev_loop      *loop;
    ConnPool            *mysql_pool;
	std::vector<std::string> v_words;
	int game_flag;
	int					server_id;
private:
};

extern YXJMJ yxjmj;
#endif
